package com.pucong.gitee.database.backup.database.service;

import com.pucong.gitee.database.backup.common.entity.DatabaseTable;
import com.pucong.gitee.database.backup.database.vo.*;

import java.util.List;

public interface OperationDataTableService {

    /**
     * 获取表名list
     * @param databaseId
     * @param databaseVo
     * @return
     */
    List<DatabaseTable> getTableList(String databaseId, DatabaseVo databaseVo);

    Boolean renameDataTable(String databaseId, RenameDataTable renameDataTable);

    Boolean deleteDataTable(String databaseId, DeleteDataTable deleteDataTable);
}
